package com.alawn.security.config.token;

import lombok.Getter;
import org.apache.shiro.authc.UsernamePasswordToken;

@Getter
public class SecurityToken extends UsernamePasswordToken {

	private static final long serialVersionUID = 5534494641088290894L;

	private String captcha;

	private String macAddr;

	public SecurityToken(String username, String password, boolean rememberMe, String ipAddr, String macAddr,
			String captcha) {

		super(username, password, false, ipAddr);
		this.captcha = captcha;
		this.macAddr = macAddr;
	}

}
